package com.engine4cloud.tdf.supervision.convert;

import com.engine4cloud.tdf.supervision.dto.create.JzdxTerminalManageCreateDTO;
import com.engine4cloud.tdf.supervision.dto.result.JzdxTerminalManageResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.JzdxTerminalManageUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.JzdxTerminalManageEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface JzdxTerminalManageConvert {

    JzdxTerminalManageConvert INSTANCE = Mappers.getMapper(JzdxTerminalManageConvert.class);

    JzdxTerminalManageResultDTO convert(JzdxTerminalManageEntity s);

    JzdxTerminalManageEntity create(JzdxTerminalManageCreateDTO s, Long tenantId);

    JzdxTerminalManageEntity update(JzdxTerminalManageUpdateDTO s);
}
